﻿/*
 * 经济机构表（本地表）
 *
 */

using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace SOEI.Solution.DomainEntities.Organization
{
    /// <summary>
    /// 经济机构表
    /// </summary>
    [Table("ECONOMYORGANIES")]
    public class EconomyOrgani : AuditedEntity<long>
    {

        #region -------------------------------------------------实体属性---------------------------------------------- 

        /// <summary>
        /// 机构编号
        /// </summary>
        public string JGBH { get; set; }

        ///<summary>
        /// 地址
        ///</summary>
        [Column("DZ")]
        public string DZ { get; set; }

        ///<summary>
        /// 主管部门
        ///</summary>
        [Column("ZGBM")]
        public string ZGBM { get; set; }

        ///<summary>
        /// 注册资金
        ///</summary>
        [Column("ZCZJ")]
        public string ZCZJ { get; set; }

        ///<summary>
        /// 法人姓名
        ///</summary>
        [Column("FRXM")]
        public string FRXM { get; set; }

        ///<summary>
        /// 法人电话
        ///</summary>
        [Column("FRDH")]
        public string FRDH { get; set; }

        ///<summary>
        /// 联系人姓名
        ///</summary>
        [Column("LXRXM")]
        public string LXRXM { get; set; }

        ///<summary>
        /// 联系人电话
        ///</summary>
        [Column("LXRDH")]
        public string LXRDH { get; set; }

        ///<summary>
        /// 业务联系电话
        ///</summary>
        [Column("YWLXDH")]
        public string YWLXDH { get; set; }

        ///<summary>
        /// 与总关系代码
        ///</summary>
        [Column("YZBH")]
        public string YZBH { get; set; }

        ///<summary>
        /// 人员总数
        ///</summary>
        [Column("RYZS")]
        public decimal? RYZS { get; set; }

        ///<summary>
        /// 经纪人数
        ///</summary>
        [Column("JJRS")]
        public decimal? JJRS { get; set; }

        ///<summary>
        /// 营业执照注册号
        ///</summary>
        [Column("YYZZH")]
        public string YYZZH { get; set; }

        ///<summary>
        /// 税务登记号
        ///</summary>
        [Column("SWDJZH")]
        public string SWDJZH { get; set; }

        ///<summary>
        /// 组织机构代码证号
        ///</summary>
        [Column("FRDMZH")]
        public string FRDMZH { get; set; }

        ///<summary>
        /// 分支机构数量
        ///</summary>
        [Column("FZJGS")]
        public decimal? FZJGS { get; set; }

        ///<summary>
        /// 业务范围
        ///</summary>
        [Column("YWFW")]
        public string YWFW { get; set; }

        ///<summary>
        /// 资金来源
        ///</summary>
        [Column("ZJLY")]
        public string ZJLY { get; set; }

        ///<summary>
        /// 固定资金
        ///</summary>
        [Column("GDZJ")]
        public decimal? GDZJ { get; set; }

        ///<summary>
        /// 流动资金
        ///</summary>
        [Column("LDZJ")]
        public decimal? LDZJ { get; set; }

        ///<summary>
        /// 资金总计
        ///</summary>
        [Column("ZJZJ")]
        public decimal? ZJZJ { get; set; }

        ///<summary>
        /// 自由面积
        ///</summary>
        [Column("ZYMJ")]
        public decimal? ZYMJ { get; set; }

        ///<summary>
        /// 租赁面积
        ///</summary>
        [Column("ZLMJ")]
        public decimal? ZLMJ { get; set; }

        ///<summary>
        /// 其它面积
        ///</summary>
        [Column("QTMJ")]
        public decimal? QTMJ { get; set; }

        ///<summary>
        /// 面积合计
        ///</summary>
        [Column("MJHJ")]
        public decimal? MJHJ { get; set; }

        ///<summary>
        /// 机构类型代码
        ///</summary>
        [Column("JGLXDM")]
        public string JGLXDM { get; set; }

        ///<summary>
        /// 上级单位
        ///</summary>
        [Column("SJDW")]
        public string SJDW { get; set; }

        ///<summary>
        /// 负责人姓名
        ///</summary>
        [Column("FZRXM")]
        public string FZRXM { get; set; }

        ///<summary>
        /// 负责人电话
        ///</summary>
        [Column("FZRDH")]
        public string FZRDH { get; set; }

        ///<summary>
        /// 经纪性质代码
        ///</summary>
        [Column("JJXZDM")]
        public string JJXZDM { get; set; }

        ///<summary>
        /// 录入时间
        ///</summary>
        [Column("LRSJ")]
        public string LRSJ { get; set; }

        ///<summary>
        /// 机构状态
        ///</summary>
        [Column("JGZT")]
        public string JGZT { get; set; }

        ///<summary>
        /// 管理员编号
        ///</summary>
        [Column("GLYBH")]
        public string GLYBH { get; set; }

        ///<summary>
        /// 变更面积
        ///</summary>
        [Column("BGMJ")]
        public decimal? BGMJ { get; set; }

        ///<summary>
        /// 注册地址
        ///</summary>
        [Column("ZCDZ")]
        public string ZCDZ { get; set; }

        ///<summary>
        /// 注册地址邮编
        ///</summary>
        [Column("ZCDZYB")]
        public string ZCDZYB { get; set; }

        ///<summary>
        /// 办公场所代码
        ///</summary>
        [Column("BGCSDM")]
        public string BGCSDM { get; set; }

        ///<summary>
        /// 上岗人数
        ///</summary>
        [Column("SGRS")]
        public decimal? SGRS { get; set; }

        ///<summary>
        /// 买卖合同签订编号
        ///</summary>
        [Column("KZJQDMMHTBH")]
        public string KZJQDMMHTBH { get; set; }

        ///<summary>
        /// 经纪合同效验编号
        ///</summary>
        [Column("JJHTJYBH")]
        public string JJHTJYBH { get; set; }

        ///<summary>
        /// 校验挂牌信息编号
        ///</summary>
        [Column("JYGPXXBH")]
        public string JYGPXXBH { get; set; }

        ///<summary>
        /// 经纪人协理总数
        ///</summary>
        [Column("JJRXLZS")]
        public decimal? JJRXLZS { get; set; }

        ///<summary>
        /// 修改时间
        ///</summary>
        [Column("XGSJ")]
        public DateTime? XGSJ { get; set; }

        ///<summary>
        /// EMAIL
        ///</summary>
        [Column("EMAIL")]
        public string EMAIL { get; set; }

        ///<summary>
        /// QQ
        ///</summary>
        [Column("QQ")]
        public string QQ { get; set; }

        ///<summary>
        /// 年检逾期时间
        ///</summary>
        [Column("NJYQSJ")]
        public string NJYQSJ { get; set; }

        ///<summary>
        /// 是否属于分支机构
        ///</summary>
        [Column("SFFZJG")]
        public string SFFZJG { get; set; }

        ///<summary>
        /// 总公司名称
        ///</summary>
        [Column("ZGS")]
        public string ZGS { get; set; }

        ///<summary>
        /// 与总公司关系,1代表直营2代表加盟
        ///</summary>
        [Column("YZGSGX")]
        public string YZGSGX { get; set; }

        ///<summary>
        /// 拼音简称
        ///</summary>
        [Column("PYJC")]
        public string PYJC { get; set; }

        ///<summary>
        /// 机构挂牌
        ///</summary>
        [Column("JGZP")]
        public string JGZP { get; set; }

        ///<summary>
        /// 可网签
        ///</summary>
        [Column("KWQ")]
        public string KWQ { get; set; }

        ///<summary>
        /// 机构名称
        ///</summary>
        [Column("JGMC")]
        public string JGMC { get; set; }

        ///<summary>
        /// 是否延期
        ///</summary>
        [Column("SFYQ")]
        public string SFYQ { get; set; }

        ///<summary>
        ///</summary>
        [Column("WQKTSJ")]
        public DateTime? WQKTSJ { get; set; }

        ///<summary>
        /// 总公司机构编号
        ///</summary>
        [Column("ZGSJGBH")]
        public string ZGSJGBH { get; set; }

        ///<summary>
        /// 法人证件类型
        ///</summary>
        [Column("FRZJLX")]
        public string FRZJLX { get; set; }

        ///<summary>
        /// 法人证件号码
        ///</summary>
        [Column("FRZJHM")]
        public string FRZJHM { get; set; }

        ///<summary>
        /// 机构全称
        ///</summary>
        [Column("JGQC")]
        public string JGQC { get; set; }

        ///<summary>
        /// 是否个体工商户
        ///</summary>
        [Column("SFGTGSH")]
        public string SFGTGSH { get; set; }
        #endregion

        #region -------------------------------------------------导航属性---------------------------------------------- 


        #endregion

        #region -------------------------------------------------非映射字段---------------------------------------------- 
        /// <summary>
        /// 机构状态的名称
        /// </summary>
        [NotMapped]
        public string JGZTMC { get; set; }

        #endregion
    }
}
